SVNDEF = -D'SVN_REV="$(shell svnversion -n .)"'
CFLAGS = $(SVNDEF) ...


CC=gcc
CFLAGS=-I.
DEPS = hellomake.h

%.o: %.c $(DEPS)
	$(CC) -c -o $@ $< $(CFLAGS)

hellomake: hellofunc.o hellomake.o
	$(CC) -o hellomake hellofunc.o hellomake.o -I.

clean:
	rm *.o hellomake
